package com.echo.echovividlive.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiajunjie
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("report")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    /**
     * 发送者id
     */
    private Integer senderId;

    /**
     * 举报内容
     */
    private String content;

    /**
     * 被举报的id
     */
    private Integer reportedId;

    /**
     * 类型：1 用户 2 评论 3 视频 4 直播
     */
    private Integer type;

    /**
     * 状态：1 已审核，0 未审核
     */
    private Boolean status;

    /**
     * 反馈信息
     */
    private String feedback;

    private LocalDateTime createTime;
    private LocalDateTime handleTime;

}
